/*
Copyright (C) 2011  Christoph Schnack, Berlin (Germany)

This file is part of Tribuit.

    Tribuit is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Tribuit is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Tribuit.  If not, see <http://www.gnu.org/licenses/>.
*/
package VocabularyManagement;

import javax.swing.JPanel;

import Storage.Meaning;
import Storage.TermClass;

/**
 * Frame for any input mask of a word.
 * 
 * @author Christoph Schnack
 *
 */
public abstract class MeaningFormularPanel extends JPanel{
	public abstract void grabFocusFirstTF();
	public abstract void setTermClass(TermClass tc, String tcName);
	public abstract void setUpMeaning(Meaning m);
	public abstract void setMeaningTFTitle(String txt);
	
	public abstract Meaning getMeaning();
	
	public abstract String getErrorMessage();
	public abstract boolean checkInputs();
	public abstract void resetAllInputs();
	
}
